<template>
	<view class="operation-modal" v-show="visable" @click="close">
		<view class="ope-dialog">
			<image class="ope-img" :src="url" mode="aspectFill"></image>
			<view class="ope-txt">
				{{txt}}
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		props: ['url', 'txt', 'visable'],
		data() {
			return {
				
			};
		},
		methods: {
			close() {
				this.$emit('close')
			}
		}
	}
</script>

<style>
.operation-modal {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9999999999999999;
	background: rgba(0,0,0,.6);
}
.ope-dialog {
	width: 366upx;
	position: absolute;
	top: 145upx;
	left: 192upx;
	text-align: center;
}
.ope-img {
	display: block;
	width: 366upx;
	height: 299upx;
}
.ope-txt {
	font-size:40upx;
	font-weight:500;
	color:rgba(234,10,42,1);
	margin: 20upx auto 0;
}
</style>
